local skel = fk.CreateSkill {
  name = "sj3__liufang",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
  ["sj3__liufang"] = "六方",
  [":sj3__liufang"] = "<b>锁定技</b>，你的体力上限始终为6，你的体力牌改为一枚六面骰子。",

  ["$sj3__liufang1"] = "三十六方，必为大统。 ",
}

skel:addEffect(fk.BeforeMaxHpChanged, {
  can_trigger = function (self, event, target, player, data)
    return target == player and player:hasSkill(skel.name, true)
  end,
  on_use = function (self, event, target, player, data)
    data:preventMaxHpChange()
  end,
})

skel:addAcquireEffect(function (self, player, is_start)
  player:broadcastSkillInvoke(skel.name)  --在这喊一句吧，不然没台词了
end)

return skel
